Touch operation processing method and terminal device

ABSTRACT

A touch operation processing method and a terminal device. The method includes: detecting a touch operation of a user, which starts from a border of a screen display area to the screen display area, and using the first point touched by the touch operation in the screen display area as a starting point; and performing, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point. Therefore, the demand is met that the user triggers, by one hand, reduction processing on the operation interface and perform a selection operation on an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand on it.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2012/081495, filed on Sep. 17, 2012, which is hereby incorporated by reference in its entirety.

FILED OF THE INVENTION

Embodiments of the present invention relate to communications technologies, and in particular, to a touch operation processing method and a terminal device.

BACKGROUND OF THE INVENTION

With the rapid development of screen touch control technologies, a terminal device with a touch screen is widely applied. In addition, to improve user experience, a screen of a current terminal device, especially a mobile terminal, becomes increasingly large, so that a user can browse information through a large screen.

In the prior art, most users are accustomed to holding and operating this type of terminal device with a large screen with one hand. For example, the user may use one hand to hold the terminal device and use the thumb of this hand to tap a certain application client displayed in a screen display area, tap a video, or tap a web page link.

When a user holds and operates a terminal device with one hand, it is difficult for the user to perform an operation on an arbitrary position in the entire screen display area of the terminal device, and the user even cannot reach certain regions in the screen display area, thereby causing inconvenience to the operation of the user.

SUMMARY OF THE INVENTION

Embodiments of the present invention provide a touch operation processing method and a terminal device.

A touch operation processing method provided by an embodiment of the present invention includes detecting a touch operation of a user, which starts from a border of a screen display area to the screen display area, and using the first point touched by the touch operation in the screen display area as a starting point; and performing, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point.

After performing, according to the touch operation, reduction processing on the operation interface displayed in the screen display area, the method also includes using content displayed at an end point position of the touch operation as selected content of the user.

Performing, according to the touch operation, reduction processing on the operation interface displayed in the screen display area includes performing, according to a track length of the touch operation, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation.

Performing, according to the touch operation, reduction processing on the operation interface displayed in the screen display area includes reducing the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation.

Performing reduction processing on the operation interface displayed in the screen display area includes performing reduction processing on the operation interface with the starting point as a fixed reference point if the starting point is in the range of a preset determination region, and if the starting point is not in the range of the preset determination region, performing reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

Performing reduction processing on the operation interface displayed in the screen display area includes performing reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The method also includes restoring the operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

Before detecting the touch operation of a user, which starts from a border of the screen display area to the screen display area, the method also includes receiving an input instruction of the user, and starting a border detecting function of the screen display area according to the input instruction.

A terminal device provided by an embodiment of the present invention includes: a detecting module configured to detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point; and a processing module configured to perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point.

The terminal device also includes a selecting module configured to use content displayed at an end point position of the touch operation as selected content of the user.

The processing module is further configured to perform, according to a track length of the touch operation, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation.

The processing module is further configured to reduce the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation.

The processing module is further configured to, if the starting point is in the range of a preset determination region, perform reduction processing on the operation interface with the starting point as a fixed reference point, and if the starting point is not in the range of the preset determination region, perform reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The processing module is further configured to perform reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The terminal device also includes a restoring module configured to restore the operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

The detecting module is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction.

A terminal device provided by an embodiment of the present invention includes a touch screen configured to detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point; and a processor configured to perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point.

The touch screen is further configured to use content displayed at an end point position of the touch operation as selected content of the user.

The processor is further configured to perform, according to a track length of the touch operation, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation.

The processor is further configured to reduce the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation.

The processor is further configured to, if the starting point is in the range of a preset determination region, perform reduction processing on the operation interface with the starting point as a fixed reference point, and if the starting point is not in the range of the preset determination region, perform reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point remains unchanged during the reduction processing.

The processor is further configured to perform reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point remains unchanged during the reduction processing.

The processor is further configured to restore the operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

The touch screen is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction.

In the touch operation processing method and the terminal device provided by the embodiments of the present invention, by the touch operation that starts from a border of the screen display area to the screen display area, reduction processing is performed on the operation interface of the terminal device, and the demand can be met that the user triggers, by one hand, reduction processing on the operation interface and performs a selection operation on an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs operations.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

FIG. 1A is a flow chart of Embodiment 1 of a touch operation processing method provided by the present invention;

FIG. 1B is a flow chart of Embodiment 2 of a touch operation processing method provided by the present invention;

FIG. 2 is a flow chart of Embodiment 3 of a touch operation processing method provided by the present invention;

FIG. 3A is a flow chart of Embodiment 4 of a touch operation processing method provided by the present invention;

FIG. 3B is a first exemplary diagram of the touch operation processing method in FIG. 3A;

FIG. 3C is a second exemplary diagram of the touch operation processing method in FIG. 3A;

FIG. 4A is a flow chart of Embodiment 5 of a touch operation processing method provided by the present invention;

FIG. 4B is a first exemplary diagram of the touch operation processing method in FIG. 4A;

FIG. 4C is a second exemplary diagram of the touch operation processing method in FIG. 4A;

FIG. 5A is a schematic structural diagram of Embodiment 1 of a terminal device provided by the present invention;

FIG. 5B is a schematic structural diagram of Embodiment 2 of a terminal device provided by the present invention;

FIG. 6 is a schematic structural diagram of Embodiment 3 of a terminal device provided by the present invention; and

FIG. 7 is a schematic structural diagram of Embodiment 4 of a terminal device provided by the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

To make the objectives, technical solutions, and advantages of the embodiments of the present invention more comprehensible, the following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. The embodiments to be described are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

FIG. 1A is a flow chart of Embodiment 1 of a touch operation processing method provided by the present invention. As shown in FIG. 1A, the method in this embodiment may include the following steps.

Step S110: Detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point.

A screen of a terminal device generally includes a display layer and a touch-sensitive layer that are superposed. The user obtains displayed content from the display layer and performs a touch operation on the terminal device through the touch-sensitive layer. The area of the touch-sensitive layer of the screen may be greater than that of the display layer of the screen. A display layer region of the screen of the terminal device is referred to as a screen display area, and a screen region other than the screen display area is referred as a border of the screen display area.

When a start position of the touch operation performed by the user on the terminal device is in the border of the screen display area of the terminal device and the touch operation slides into the screen display area of the terminal device from the border of the screen display area of the terminal device, the terminal device can detect and identify such a touch operation and define the first point touched by the touch operation in the screen display area as a starting point. The terminal device, for example, a mobile terminal device, may be a mobile phone, a tablet computer, or an E-book reader, which is not limited in the present invention.

Step S120: Perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point of the touch operation in the screen display area.

According to the touch operation detected in step S110, reduction processing is performed on the operation interface of an original size displayed in the screen display area. For example, according to factors such as the starting point or a sliding distance of the touch operation in the screen display area after the touch operation slides into the screen display area, reduction processing of different positions and proportions can be performed on the operation interface of an original size displayed in the screen display area, so as to obtain an operation interface having a smaller size and being suitable for an operation. The reduction processing may be equal proportion reduction or unequal proportion reduction, so as to obtain pictures of different proportions, such as a 16:9 picture or a 4:3 picture. The equal proportion reduction or the unequal proportion reduction is selected depending on a demand of the user, which is not limited in the embodiment of the present invention.

At least one edge of the operation interface after the reduction processing or an extension line of at least one edge of the operation interface after the reduction processing should include the starting point of the touch operation in the screen display area. That is, the operation interface after the reduction processing should closely contact the border from which the touch operation of the user starts, so that a finger of the same hand of the user, which initiates the touch operation, can reach an arbitrary position of the operation interface after the reduction processing.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the touch operation, reduction processing is performed on the operation interface. The operation interface after the reduction processing is close to a position convenient for the user to perform a selection operation, and the demand can be met that the user triggers, by one hand, reduction processing on the operation interface and conveniently performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs an operation on it.

FIG. 1B is a flow chart of Embodiment 2 of a touch operation processing method provided by the present invention. As shown in FIG. 1B, the method in this embodiment may include the following steps.

Step S110: Detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point.

A screen of a terminal device generally includes a display layer and a touch-sensitive layer that are superposed. The user obtains displayed content from the display layer and performs a touch operation on the terminal device through the touch-sensitive layer. The area of the touch-sensitive layer of the screen of the terminal device may be greater than that of the display layer. A display layer region of the screen of the terminal device is referred to as a screen display area, and a screen region other than the screen display area is referred to as a border of the screen display area.

When a start position of the touch operation performed by the user on the terminal device is in the border of the screen display area of the terminal device and the touch operation slides into the screen display area of the terminal device from the border of the screen display area of the terminal device, the terminal device can detect and identify such a touch operation and define the first point touched by the touch operation in the screen display area as a starting point. The terminal device, for example, a mobile terminal device, may be a mobile phone, a tablet computer, or an E-book reader, which is not limited in the present invention.

Step S120: Perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point of the touch operation in the screen display area.

According to the touch operation detected in step S110, reduction processing is performed on the operation interface of an original size displayed in the screen display area. For example, according to factors such as the starting point or a sliding distance of the touch operation in the screen display area after the touch operation slides into the screen display area, reduction processing of different positions and proportions can be performed on the operation interface of an original size displayed in the screen display area, so as to obtain an operation interface having a smaller size and being suitable for an operation. The reduction processing may be equal proportion reduction or unequal proportion reduction, so as to obtain pictures of different proportions, such as a 16:9 picture or a 4:3 picture. The equal proportion reduction or the unequal proportion reduction is selected depending on a demand of the user, which is not limited in the embodiment of the present invention.

At least one edge of the operation interface after the reduction processing, or an extension line of at least one edge of the operation interface after the reduction processing, should include the starting point of the touch operation in the screen display area. That is, the operation interface after the reduction processing should closely contact the border from which the touch operation of the user starts, so that a finger of the same hand of the user, which initiates the touch operation, can reach an arbitrary position of the operation interface after the reduction processing.

Step S130: Use content displayed at an end point position of the touch operation as selected content of the user.

The end point position at which the touch operation is finished is detected, and the content at the end point position, for example, an icon of a certain application, a hyperlink address, a play/pause button, page up and page down buttons, or an exit button, is used as the selected content of the user. Types of selection operations, such as tapping and double tapping, can be performed on the selected content, and a type of a specific selection operation may be set in advance.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the touch operation, reduction processing is performed on the operation interface. The operation interface after the reduction processing is close to a position convenient for the user to perform a selection operation, and the content displayed at the end point position of the touch operation is used as the selected content of the user, so that the demand can be met that the user triggers, by one hand, reduction processing on the operation interface and performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs an operation on it.

FIG. 2 is a flow chat of Embodiment 3 of a touch operation processing method provided by the present invention. As shown in FIG. 2, the difference between this embodiment and the embodiments in FIG. 1A and FIG. 1B lies in that after the content displayed at the end point position of the touch operation is used as the selected content of the user, a step of restoring the operation interface after the reduction processing to the operation interface originally displayed in the screen display area may further be included. The method in this embodiment may include the following steps.

Step S210: Detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point.

A screen of a terminal device generally includes a display layer and a touch-sensitive layer that are superposed. The user obtains displayed content from the display layer and performs a touch operation on the terminal device through the touch-sensitive layer. The area of the touch-sensitive layer of the screen of the terminal device may be greater than that of the display layer. A display layer region of the screen of the terminal device is referred to as a screen display area, and a screen region other than the screen display area is referred to as a border of the screen display area.

When a start position of the touch operation performed by the user on the terminal device is in the border of the screen display area of the terminal device and the touch operation slides into the screen display area of the terminal device from the border of the screen display area of the terminal device, the terminal device can detect and identify such a touch operation. The terminal device, for example, a mobile terminal device, may be a mobile phone, a tablet computer, or an E-book reader.

Step S220: Perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point of the touch operation in the screen display area.

According to the touch operation detected in step S210, reduction processing is performed on the operation interface of an original size displayed in the screen display area. For example, according to factors such as the starting point or a sliding distance of the touch operation in the screen display area after the touch operation slides into the screen display area, reduction processing of different positions and proportions can be performed on the operation interface of an original size displayed in the screen display area, so as to obtain an operation interface having a smaller size and being suitable for an operation. The reduction processing may be equal proportion reduction or unequal proportion reduction, so as to obtain pictures of different proportions, such as a 16:9 picture or a 4:3 picture. The equal proportion reduction or the unequal proportion reduction is selected depending on a demand of the user, which is not limited in the embodiment of the present invention.

At least one edge of the operation interface after the reduction processing or an extension line of at least one edge of the operation interface after the reduction processing should include the starting point of the touch operation in the screen display area. That is, the operation interface after the reduction processing should closely contact the border from which the touch operation of the user starts, so that a finger of the same hand of the user, which initiates the touch operation, can reach an arbitrary position of the operation interface after the reduction processing.

Step S230: Use content displayed at an end point position of the touch operation as selected content of the user.

The end point position at which the touch operation is finished is detected, and the content at the end point position, for example, an icon of a certain application, a hyperlink address, a play/pause button, page up and page down buttons, or an exit button, is used as the selected content of the user. Types of selection operations, such as tapping and double tapping, can be performed on the selected content, and a type of a specific selection operation may be set in advance.

Step S240: Restore the operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

After the finger of the user leaves the screen display area, that is, after a selection operation on the selected content is completed, the operation interface after the reduction processing can be automatically restored to the operation interface originally displayed in the screen display area. Of course, the operation interface after the reduction processing may also be restored to the operation interface originally displayed in the screen display area by using methods such as pressing a button of the terminal device or tapping the screen. The method of triggering step S240 is not limited in the embodiment of the present invention.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the touch operation, reduction processing is performed on the operation interface. The operation interface after the reduction processing is close to a position convenient for the user to perform a selection operation, and the content displayed at the end point position of the touch operation is used as the selected content of the user. After the selection operation is completed, the size of the operation interface is restored. The demand can be met that the user triggers, by one hand, reduction processing on the operation interface, performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device, and after completing the selection operation, restores the operation interface when the user holds the terminal device with a large screen with one hand and performs an operation on it.

In the method embodiment shown in any one of FIG. 1A to FIG. 2, the performing, according to the touch operation, reduction processing on the operation interface displayed in the screen display area may include performing, according to a track length of the touch operation, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation. It is assumed that the correspondence between a track length L of a touch operation performed by the user on a 5.5-inch screen display area and a reduction size S is preset as follows: the operation interface displayed in the screen display area is reduced by 0.2 inch for each 1 millimeter that the track length L is increased by. Accordingly, when the track length L of the touch operation performed by the user on the screen display area is 1 centimeter, the 5.5-inch screen display area is reduced to a screen display area of a 3.5-inch size. Of course, the correspondence between the track length L and the reduction size S is not limited thereto, and can be flexibly adjusted according to factors such as the size of the screen display area of the terminal device. A size limit may also be specified for the size of the operation interface after reduction processing. For example, the size of the operation interface after reduction processing is not less than 2.5 inches, so as to avoid the situation that the operation interface is so small that the user cannot identify content to be operated or the user performs a misoperation; or reducing the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation. Once the touch operation of the user enters the screen display area of the terminal device, and when it is assumed that the size of the screen display area is 5.5 inches and a value of the track length L of the touch operation is greater than zero, the operation interface displayed in the screen display area is reduced to an operation interface of a preset fixed size. For example, the operation interface displayed in the screen display area is reduced to a preset 3.5-inch operation interface. Of course, the size of the preset operation interface after reduction processing is not limited thereto, and may be flexibly adjusted according to factors such as the size of the screen display area of the terminal device or a user preference.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the track length of the touch operation, the operation interface is reduced to an operation interface of a corresponding size. The operation interface after the reduction processing is close to a position convenient for the user to perform a selection operation, and the content displayed at the end point position of the touch operation can be used as the selected content of the user for the selection operation. The demand can be met that the user triggers, by one hand, reduction processing on the operation interface and conveniently and accurately performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs an operation on it.

The technical solution of any one of the method embodiments in FIG. 1A to FIG. 2 is described in detail below with several specific embodiments.

FIG. 3A is a flow chart of Embodiment 4 of a touch operation processing method provided by the present invention. As shown in FIG. 3A, in the touch operation processing method provided by this embodiment, performing reduction processing on an operation interface displayed in a screen display area may include: performing reduction processing on the operation interface with the starting point as a fixed reference point if a starting point is in the range of a preset determination region, if the starting point is not in the range of the preset determination region, performing reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point remains unchanged during the reduction processing. The method in this embodiment may specifically include the following steps.

Step S310: Detect whether a touch operation of a user starts from a border of a screen display area to the screen display area, if the touch operation of the user does not start from a border of the screen display area to the screen display area, but starts from a position which is within the screen display area, perform a common touch operation (step S315); if the touch operation of the user starts from a border of the screen display area to the screen display area, perform step S320.

Before step S310 of detecting whether the touch operation of the user starts from a border of the screen display area to the screen display area, an input instruction of the user may firstly be received. A border detecting function of the screen display area is started according to the input instruction, so as to avoid the situation that the processing method provided by the embodiment of the present invention is started by mistake when the user does not need to perform reduction processing on the operation interface. The input instruction of the user may specifically be in the form of starting the border detecting function by presetting or in other forms, which is not limited in the embodiment of the present invention.

Step S320: Determine whether a starting point of the touch operation in the screen display area is in the range of a preset determination region, if the starting point is in the range of the preset determination region, perform reduction processing on the operation interface with the starting point as a fixed reference point (step S330); if the starting point is not in the range of the preset determination region, perform reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point (step S340), where a part of the operation interface at a position of the fixed reference point remains unchanged during the reduction processing.

Specifically, for step S330, FIG. 3B is a first exemplary diagram of the touch operation processing method in FIG. 3A. As shown in FIG. 3B, a terminal device 300 detects that the touch operation of the user starts from a border of the screen display area, for example, from a right border 302 of the screen display area, and the touch operation enters the screen display area 304 from a starting point A in the screen display area 304. It is determined whether the starting point A of the touch operation in the screen display area 304 when the touch operation enters the screen display area 304 is in a preset determination region Rbm-Rtm, the preset determination region Rbm-Rtm is a line which connected Rbm with Rtm, where Rbm is an lower endpoint of the determination region Rbm-Rtm, and Rtm is a upper endpoint of the determination region Rbm-Rtm. If the starting point A is in the preset determination region Rbm-Rtm, then, as shown in FIG. 3B, reduction processing is performed on the operation interface with the starting point A as the fixed reference point. During the reduction processing, a part of the operation interface at a position of the fixed reference point, that is, the starting point A, maintains unchanged. One edge of an operation interface 306 after the reduction processing includes the starting point A. That is, the operation interface 306 after the reduction processing closely contacts the right border 302 of the screen display area, from which the touch operation of the user starts, so that a finger of the same hand (for example, the right hand) of the user, which initiates the touch operation, conveniently operates on an arbitrary position in the operation interface after the reduction processing.

Specifically, for the step S340, FIG. 3C is a second exemplary diagram of the touch operation processing method in FIG. 3A. As shown in FIG. 3C, a terminal device 300 detects that the touch operation of the user starts from a border of the screen display area, for example, from a right border 302 of the screen display area, and the touch operation enters the screen display area 304 from a starting point A in the screen display area 304. It is determined whether the starting point A of the touch operation in the screen display area 304 when the touch operation enters the screen display area 304 is in a preset determination region Rbm-Rtm, where Rbm is a lower endpoint of the determination region Rbm-Rtm, and Rtm is an upper endpoint of the determination region Rbm-Rtm. If the starting point A is not in the preset determination region Rbm-Rtm, then, as shown in FIG. 3C, reduction processing is performed on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point A, that is, the lower endpoint Rbm of the determination region, as a fixed reference point. During the reduction processing, a part of the operation interface at a position of the fixed reference point, that is, the lower endpoint Rbm, remains unchanged. One edge of an operation interface 306 after the reduction processing includes the starting point A. That is, the operation interface 306 after the reduction processing closely contacts the right border 302 of the screen display area, from which the touch operation of the user starts, so that a finger of the same hand (for example, the right hand) of the user, which initiates the touch operation, conveniently operates on an arbitrary position in the operation interface after the reduction processing.

Step S350: Use content displayed at an end point position of the touch operation as selected content of the user. Referring to FIG. 3A to FIG. 3C, after reduction processing is performed on the operation interface, an end point position B of the touch operation is detected, and the content displayed at the end point position B, for example, an icon of a certain application, a hyperlink address, a play/pause button, page up and page down buttons, or an exit button, is used as the selected content of the user. Types of selection operations, such as tapping and double tapping, can be performed on the selected content, and a type of a specific selection operation may be set in advance.

After the selection operation is completed, the operation interface 306 after the reduction processing may also be restored to the operation interface originally displayed in the screen display area 304. After the finger of the user leaves the screen display area 304, that is, after the selection operation on the selected content is completed, the operation interface 306 after the reduction processing can be automatically restored to the operation interface originally displayed in the screen display area 304. Of course, the operation interface 306 after the reduction processing may also be restored to the operation interface originally displayed in the screen display area 304 by using methods such as pressing a button (not shown) of the terminal device 300 or tapping the screen. The method of triggering the restoring of the operation interface is not limited in the embodiment of the present invention.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the starting point position and the displacement of the touch operation in the screen display area, the operation interface is reduced to an operation interface of a corresponding size at a corresponding position. The content displayed at the end point position of the touch operation is used as the selected content of the user, and after the selection operation is completed, the size of the operation interface may be restored. The demand can be met that the user triggers, by one hand, reduction processing on the operation interface and conveniently and accurately performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs an operation on it.

FIG. 4A is a flow chart of Embodiment 5 of a touch operation processing method provided by the present invention. As shown in FIG. 4A, in the touch operation processing method provided by this embodiment, performing reduction processing on an operation interface displayed in a screen display area may include: performing reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which a starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point remains unchanged during the reduction processing. The method in this embodiment may specifically include the following steps.

Step S410: Detect whether a touch operation of a user starts from a border of a screen display area to the screen display area, if the touch operation of the user does not start from a border of the screen display area to the screen display area, but starts from a position which is within the screen display area, perform a common touch operation (step S415); if the touch operation of the user starts from a border of the screen display area to the screen display area, perform step S420.

Before the step S410 of detecting whether the touch operation of the user starts from a border of the screen display area to the screen display area, an input instruction of the user may firstly be received. A border detecting function of the screen display area is started according to the input instruction, so as to avoid the situation that the processing method provided by the embodiment of the present invention is started by mistake when the user does not need to perform reduction processing on the operation interface. The input instruction of the user may specifically be in the form of starting the border detecting function by presetting or in other forms, which is not limited in the embodiment of the present invention.

Step S420: Perform reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

Specifically, FIG. 4B is a first exemplary diagram of the touch operation processing method in FIG. 4A. As shown in FIG. 4B, a terminal device 400 detects that the touch operation of the user starts from a border of the screen display area, for example, from a right border 402 of the screen display area, and the touch operation enters the screen display area 404 from a starting point A in the screen display area 404. It is determined which side of a determination point S on a border, which is a border of the screen display area on which the starting point A lies, the starting point A in the screen display area 404 when the touch operation enters the screen display area 404 is located. If the starting point A is located above the preset determination point S, then, as shown in FIG. 4B, reduction processing is performed on the operation interface with an upper endpoint D1 of the border, which is a border of the screen display area on which the starting point A lies, as the fixed reference point. One edge of an operation interface 406 after the reduction processing includes the starting point A. That is, the operation interface 406 after the reduction processing closely contacts the right border 402 of the screen display area, from which the touch operation of the user starts, so that a finger of the same hand of the user, which initiates the touch operation, conveniently operates on an arbitrary position of the operation interface after the reduction processing.

Step S430: Use content displayed at an end point position of the touch operation as selected content of the user. Referring to FIG. 4A to FIG. 4C, after reduction processing is performed on the operation interface, an end point position B of the touch operation is detected, and the content displayed at the end point position B, for example, an icon of a certain application, a hyperlink address, a play/pause button, page up and page down buttons, or an exit button, is used as the selected content of the user. Types of selection operations, such as tapping and double tapping, can be performed on the selected content, and a type of a specific selection operation may be set in advance.

After the selection operation is completed, the operation interface 406 after the reduction processing may also be restored to the operation interface originally displayed in the screen display area 404. After the finger of the user leaves the screen display area 404, that is, after the selection operation on the selected content is completed, the operation interface 406 after the reduction processing can be automatically restored to the operation interface originally displayed in the screen display area 404. Of course, the operation interface 406 after the reduction processing may also be restored to the operation interface originally displayed in the screen display area 404 by using methods such as pressing a button (not shown) of the terminal device 400 or tapping the screen. The method of triggering the restoring of the operation interface is not limited in the embodiment of the present invention.

In the touch operation processing method provided by this embodiment, the touch operation of the user, which starts from the border to the screen display area, is detected, and according to the starting point position and the displacement of the touch operation in the screen display area, the operation interface is reduced to an operation interface of a corresponding size at a corresponding position. The content displayed at the end point position of the touch operation may be used as the selected content of the user to perform a selection operation, and after the selection operation is completed, the size of the operation interface may be restored. The demand can be met that the user triggers, by one hand, reduction processing on the operation interface and conveniently and accurately performs a selection operation on content at an arbitrary position in the entire screen display area of the terminal device when the user holds the terminal device with a large screen with one hand and performs an operation on it.

FIG. 5A is a schematic structural diagram of Embodiment 1 of a terminal device provided by the present invention. As shown in FIG. 5A, a terminal device 500 in this embodiment may include a detecting module 510 and a processing module 520. The detecting module 510 is configured to detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point. The processing module 520 is configured to perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 1A, and its implementation principle and technical effect are similar to those of the method embodiment shown in FIG. 1A, which are not described herein again.

FIG. 5B is a schematic structural diagram of Embodiment 2 of a terminal device provided by the present invention. As shown in FIG. 5B, a terminal device 500 in this embodiment may include a detecting module 510, a processing module 520, and a selecting module 530. The detecting module 510 is configured to detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point. The processing module 520 is configured to perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point. The selecting module 530 is configured to use content displayed at an end point position of the touch operation as selected content of the user.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 1B, and its implementation principle and the technical effect are similar to those of the method embodiment shown in FIG. 1B, which are not described herein again.

FIG. 6 is a schematic structural diagram of Embodiment 3 of a terminal device provided by the present invention. As shown in FIG. 6, based on the apparatus structure shown in FIG. 5B, a terminal device 600 in this embodiment may further include a restoring module 640. The restoring module 640 is configured to restore an operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 2, and its implementation principle and the technical effect are similar to those of the method embodiment shown in FIG. 2, which are not described herein again.

In the embodiment of the terminal device shown in any one of FIG. 5A to FIG. 6, the processing module 520 is further configured to perform, according to a track length of the touch operation, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation. Or, the processing module 520 is further configured to reduce the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation. Its implementation principle and the technical effect are similar to those in the method embodiment, which are not described herein again.

In the embodiment of the terminal device shown in any one of FIG. 5A to FIG. 6, the detecting module 510 is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction. The processing module 520 is further configured to, if the starting point is in the range of a preset determination region, perform reduction processing on the operation interface with the starting point as a fixed reference point, and if the starting point is not in the range of the preset determination region, perform reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in any one of FIG. 3A to FIG. 3C, and its implementation principle and the technical effect are similar to those of the method embodiment shown in any one of FIG. 3A to FIG. 3C, which are not described herein again.

In the embodiment of the terminal device shown in any one of FIG. 5A to FIG. 6, the detecting module 510 is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction. The processing module 520 is further configured to perform reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in any one of FIG. 4A to FIG. 4C, and its implementation principle and the technical effect are similar to those of the method embodiment shown in any one of FIG. 4A to FIG. 4C, which are not described herein again.

FIG. 7 is a schematic structural diagram of Embodiment 4 of a terminal device provided by the present invention. As shown in FIG. 7, a terminal device 700 provided by this embodiment includes a memory 701, a chip 702, an RF circuit 703, an external interface 704, an audio circuit 705, an input/output (I/O) subsystem 706, and a touch screen 710. The chip 702 includes a processor 720, a memory controller, a central processing unit (CPU), and a peripheral interface. The memory 701 includes a detecting module 7011, a processing module 7012, a selecting module 7013, and other functional modules, such as an operating system.

The components communicate through one or more communication buses or signal lines. The terminal device 700 may include, but is not limited to, a mobile phone or a tablet computer. Each of the components shown in FIG. 7 may be implemented through hardware, software or a combination of hardware and software, including one or more signal processing and/or application-specific integrated circuits. The memory 701 may include a high-speed random access memory, and a non-volatile solid-state storage device. The memory controller may control access of other components of the terminal device 700, such as the CPU and the peripheral interface, to the memory 701, so as to invoke each module in the memory 701 to perform a corresponding function.

The touch screen 710 is configured to detect a touch operation of a user, which starts from a border of a screen display area to the screen display area, and use the first point touched by the touch operation in the screen display area as a starting point. The processor 720 is configured to perform, according to the touch operation, reduction processing on an operation interface displayed in the screen display area, where one edge of an operation interface after the reduction processing includes the starting point.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 1A, and its implementation principle and the technical effect are similar to those of the method embodiment shown in FIG. 1A, which are not described herein again.

Further, the touch screen 710 is further configured to use content displayed at an end point position of the touch operation as selected content of the user.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 1B, and its implementation principle and the technical effect are similar to those of the method embodiment shown in FIG. 1B, which are not described herein again.

Further, the processor 720 is further configured to restore the operation interface after the reduction processing to the operation interface originally displayed in the screen display area.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in FIG. 2, and its implementation principle and the technical effect are similar to those of the method embodiment shown in FIG. 2, which are not described herein again.

In the embodiment of the terminal device shown in FIG. 7, the processor 720 is further configured to perform, according to a track length of the displacement along which the touch operation slides, dynamic reduction processing on the operation interface displayed in the screen display area during the touch operation. Or, the processor 720 is further configured to reduce the operation interface displayed in the screen display area to an operation interface of a fixed size according to the touch operation. Its implementation principle and the technical effect are similar to those in the method embodiment, which are not described herein again.

In the embodiment of the terminal device shown in FIG. 7, the touch screen 710 is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction. The processor 720 is further configured to, if the starting point is in the range of a preset determination region, perform reduction processing on the operation interface with the starting point as a fixed reference point; if the starting point is not in the range of the preset determination region, perform reduction processing on the operation interface with an endpoint, which is an endpoint of the determination region and is close to the starting point, as the fixed reference point, where a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in any one of FIG. 3A to FIG. 3C, and its implementation principle and the technical effect are similar to those of the method embodiment shown in any one of FIG. 3A to FIG. 3C, which are not described herein again.

In the embodiment of the terminal device shown in FIG. 7, the touch screen 710 is further configured to receive an input instruction of the user and start a border detecting function of the screen display area according to the input instruction. The processor 720 is further configured to perform reduction processing on the operation interface with an endpoint of an edge, which is an edge of the screen display area on which the starting point lies, as a fixed reference point, where the endpoint and the starting point are located at the same side of a preset determination point on the edge, which is an edge of the screen display area on which the starting point lies, and a part of the operation interface at a position of the fixed reference point maintains unchanged during the reduction processing.

The terminal device in this embodiment may be configured to execute the technical solution of the method embodiment shown in any one of FIG. 4A to FIG. 4C, and its implementation principle and the technical effect are similar to those of the method embodiment shown in any one of FIG. 4A to FIG. 4C, which are not described herein again.

Persons of ordinary skill in the art may understand that all or part of the steps of the methods in the embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program is run, the foregoing steps of the method embodiments are performed. The storage medium may be any medium capable of storing program codes, such as read only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present invention other than limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof; without departing from the idea and scope of the technical solutions of the embodiments of the present invention. 

What is claimed is:
 1. A gesture processing method implemented by a terminal device, comprising: detecting a sliding gesture on a touch-sensitive screen of the terminal device, wherein the sliding gesture starts from a non-display area of the screen and extends to a display area of the screen, the display area is configured to display an operation interface, the non-display area is not configured to display the operation interface, the non-display area shares a common border with the display area, and the sliding gesture crosses the common border at a starting point; and in response to the sliding gesture, scaling the operation interface displayed in the display area down to a scaled operation interface, wherein one edge of the scaled operation interface contacts the common border and the starting point, wherein the non-display area shares another common border with the display area, and wherein another edge of the scaled operation interface contacts the another common border.
 2. The method according to claim 1, further comprising: detecting an end point position of the sliding gesture; and performing selection operation on content displayed at the end point position in the display area in response to the detecting the end point position of the sliding gesture.
 3. The method according to claim 2, further comprising: detecting completion of the selection operation; and scaling the scaled operation interface back to the operation interface in response to the detecting completion of the selection operation.
 4. The method according to claim 3, wherein the content displayed at the end point in the displayed area is one of an icon of an application, a hyperlink address, or a button.
 5. The method according to claim 3, wherein the selection operation is tapping or double tapping.
 6. The method according to claim 1, wherein the operation interface is dynamically reduced to the scaled operation interface according to a track length of the sliding distance of the sliding gesture.
 7. The method according to claim 1, wherein one edge of the scaled operation interface directly contacts the common border and the starting point, and wherein another edge of the scaled operation interface directly contacts the another common border.
 8. The method according to claim 1, wherein the sliding gesture starts from a non-display area of the screen and ends in the display area of the screen.
 9. A terminal device, comprising: a display; one or more processors; and a memory storing programming for execution by the one or more processors, the programming including instructions for: detecting a sliding gesture on a touch-sensitive screen of the terminal device, wherein the sliding gesture starts from a non-display area of the screen and extends to a display area of the screen, the display area is configured to display an operation interface, the non-display area is not configured to display the operation interface, the non-display area shares a common border with the display area, and the sliding gesture crosses the common border at a starting point; and in response to the sliding gesture, scaling the operation interface displayed in the display area down to a scaled operation interface, wherein one edge of the scaled operation interface contacts the common border and the starting point, wherein the non-display area shares another common border with the display area, and wherein another edge of the scaled operation interface contacts the another common border.
 10. The terminal device according to claim 9, wherein the programming further comprises instructions for: detecting an end point position of the sliding gesture; and performing selection operation on content displayed at the end point position in the display area in response to the detecting the end point position of the sliding gesture.
 11. The terminal device according to claim 10, wherein the programming further comprises instructions for: detecting completion of the selection operation; and scaling the scaled operation interface back to the operation interface in response to the detecting completion of the selection operation.
 12. The terminal device according to claim 11, wherein the content displayed at the end point in the displayed area is one of an icon of an application, a hyperlink address, or a button.
 13. The terminal device according to claim 11, wherein the selection operation is tapping or double tapping.
 14. The terminal device according to claim 9, wherein the operation interface is dynamically reduced to the scaled operation interface according to a track length of the sliding distance of the sliding gesture.
 15. A non-transitory computer-readable medium containing a computer program product comprising terminal device executable instructions for processing a gesture, the terminal device comprising a processor, and a touch-sensitive screen configured to cooperate with the processor to display an operation interface, the terminal device executable instructions comprising: detecting a sliding gesture on a touch-sensitive screen of the terminal device, wherein the sliding gesture starts from a non-display area of the screen and extends to a display area of the screen, the display area is configured to display the operation interface, the non-display area is not configured to display the operation interface, the non-display area shares a common border with the display area, and the sliding gesture crosses the common border at a starting point; and in response to the sliding gesture, scaling the operation interface displayed in the display area down to a scaled operation interface, wherein one edge of the scaled operation interface contacts the common border and the starting point, wherein the non-display area shares another common border with the display area, and wherein another edge of the scaled operation interface contacts the another common border.
 16. The non-transitory computer-readable medium according to claim 15, wherein the terminal device executable instructions further comprise: detecting an end point position of the sliding gesture; and performing selection operation on content displayed at the end point position in the display area in response to the detecting the end point position of the sliding gesture.
 17. The non-transitory computer-readable medium according to claim 16, wherein the terminal device executable instructions further comprise: detecting completion of the selection operation; and scaling the scaled operation interface back to the operation interface in response to the detecting completion of the selection operation.
 18. The non-transitory computer-readable medium according to claim 17, wherein the content displayed at the end point in the displayed area is one of an icon of an application, a hyperlink address, or a button.
 19. The non-transitory computer-readable medium according to claim 17, wherein the selection operation is tapping or double tapping. 